package com.project.service;

import com.project.bean.ManBean;

import java.time.LocalDate;
import java.util.List;

public interface IManService {
    public void add(ManBean man);
    public void del(Integer id);
    public void update(Integer id,String phone);
    public List<ManBean> findAll();
    public ManBean findById(Integer id);

    public List<ManBean> findByName(String name);
    public List<ManBean> findByBirthday(LocalDate startDate,LocalDate endDate);
}
